package com.lmc.form;



import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@SpringBootApplication (exclude = {com.lmc.business.core.config.WebConfiguration.class})
public class Application {
    public static void main(String[] args) {

        SpringApplication.run(Application.class, args);
//        ThreadPool.System.submit("异常流程检测",()->{
//            while(!ThreadPool.System.isShutdown()) {
//                try {
//                    new TimeoutJob().execute(null);
//                } catch (Exception e) {
//                }
//                try {
//                    new ErrorFlowJob().execute(null);
//                } catch (Exception e) {
//
//                }
//                try {
//                    Thread.sleep(1000 * 60 * 5);
//                } catch (Exception e) {
//                }
//            }
//        });
    }
}
